<me:UIKD x:Class="WPFExcelReport.TNOKD"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:SP="clr-namespace:WPFExcelReport;assembly=TKDANSP"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    FontSize="14"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIKD.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIKD.Resources>
    <WrapPanel>
                    <Grid Margin="10,0,0,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=客户名:}}"></TextBlock>
                        <ex:TXT72 
                            MaxLength="8" Grid.Column="1" CharacterCasing="Upper"   
                            Text="{Binding ART,ElementName=TV,Converter={StaticResource gb2312}}" Width="60" />
                    </Grid>
                    <Grid Margin="10,0,0,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=公司名:}}"></TextBlock>
                        <ex:TXT72 IsAutoClear="false" 
                                  Grid.Column="1"  MaxLength="40"  CharacterCasing="Upper"  
                                  Text="{Binding FARBE,ElementName=TV, Converter={StaticResource gb2312}}" 
                                  MinWidth="200" Width="Auto" />
                    </Grid>
                <Button   Click="NewCommand" Height="20" Content="{Binding Source={Localization:Translate Word=新建用户}}" Margin="5,0,0,0" Width="Auto"/>
    </WrapPanel>  
</me:UIKD>
